package com.his.back.dao;

import com.his.back.pojo.patient_project;
import com.his.back.pojo.patient_projectKey;
import com.his.back.pojo.project;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component("patient_projectMapper")
public interface patient_projectMapper {
    List<project> findProjC(String patientId);
    List<project> findProjY(String patientId);
    List<project> findProjZ(String patientId);
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table patient_project
     *
     * @mbggenerated
     */
    int deleteByPrimaryKey(patient_projectKey key);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table patient_project
     *
     * @mbggenerated
     */
    int insert(patient_project record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table patient_project
     *
     * @mbggenerated
     */
    int insertSelective(patient_project record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table patient_project
     *
     * @mbggenerated
     */
    patient_project selectByPrimaryKey(patient_projectKey key);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table patient_project
     *
     * @mbggenerated
     */
    int updateByPrimaryKeySelective(patient_project record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table patient_project
     *
     * @mbggenerated
     */
    int updateByPrimaryKey(patient_project record);
}